﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%
	if (Request.IsAuthenticated && User.IsInRole("Admin")) { %>
<div>
	<div>
		<div>
			<object type="image/svg+xml" data="http://localhost/web/svg?src=user"></object>
		</div>
		<div>
			Adminster
		</div>
	</div>
	<div id="menuAdmin" class="menu2">
		<div>
			<a href="<%: Url.Action("Adminster","Occasion") %>">
				<div>
					<object type="image/svg+xml" data="http://localhost/web/svg?src=user"></object>
				</div>
				<div>Occasion</div>
			</a>
		</div>
		<div>
			<a href="<%: Url.Action("Adminster","Order") %>">
				<div>
					<object type="image/svg+xml" data="http://localhost/web/svg?src=user"></object>
				</div>
				<div>Order</div>
			</a>
		</div>
		<div>
			<a href="<%: Url.Action("Adminster","User") %>">
				<div>
					<object type="image/svg+xml" data="http://localhost/web/svg?src=user"></object>
				</div>
				<div>Users</div>
			</a>
		</div>
	</div>
</div>
<% } else { %>
<div>
	<div>
		<div>
			<object type="image/svg+xml" data="http://localhost/web/svg?src=support"></object>
		</div>
		<div>Support</div>
	</div>
</div>
<div>
	<div>
		<div>
			<object type="image/svg+xml" data="http://localhost/web/svg?src=support"></object>
		</div>
		<div>Contact</div>
	</div>
</div>

<%}%>